package com.fjl.boot;

import org.springframework.beans.factory.SmartInitializingSingleton;
import org.springframework.stereotype.Component;

// 10. SmartInitializingSingleton
@Component
class MySmartInitializingSingleton implements SmartInitializingSingleton {
    @Override
    public void afterSingletonsInstantiated() {
        System.out.println(">> SmartInitializingSingleton.afterSingletonsInstantiated");
    }
}